package com.fuego.creditsystemcommodity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.House;

import java.util.List;


public interface HouseMapper extends BaseMapper<House> {

    List<House> queryHouseOfOwner(@Param("ownerId") Long ownerId);

    List<House> queryAllHouse();

    List<House> queryHouseById(Long houseId);

    List<House>  searchHouse(@Param("title") String houseName);

}
